#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Xiaobao Zeng<zengxiaobao@skyworth.com>
# Created Time: 2016-11-16 10:51:44
# Last Modified: 2017-07-12 11:29:16
# File Name: yesprofit.sh
# Description: 

#now=`date +%s`

path="/statis/user/dimension"
params='
{
    "qtype":4,
    "check_sum": "xxx",
    "uid": "bfaace1791e54c5d888ce82e065e40cd"
}
'
body='
{
    "time_type": 1,
    "time_range": "2017-07-08~2017-07-09"
}
'

url=`python ../geturl.py "${path}" "${params}"`
curl -v -k -H "host: qkleague.app.doubimeizhi.com"  -d "${body}" "${url}"
